% Specify the folder path
folderPath = "./temp_progress/";

% Get a list of all files in the folder
files = dir(fullfile(folderPath, '*.*'));

% Iterate through the files and delete each one
for i = 1:length(files)
    filePath = fullfile(folderPath, files(i).name);
    delete(filePath);
end

clear filePath files folderPath i